/*******************************************************************************
 * Copyright 2017 Bstek
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.  You may obtain a copy
 * of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations under
 * the License.
 ******************************************************************************/
package com.bstek.ureport.model;

import java.util.List;

import com.bstek.ureport.definition.CellStyle;
import com.bstek.ureport.definition.Expand;
import com.bstek.ureport.definition.value.Value;

/**
 * 报表的表格
 *
 * @author Jacky.gao
 * @since 2017年1月19日
 */
public interface ReportCell {
    /**
     * 获取行的样式
     *
     * @author ljk
     * @since 2022/7/8 17:14
     */
    CellStyle getCellStyle();

    /**
     * 获取名称
     *
     * @author ljk
     * @since 2022/7/8 17:15
     */
    String getName();

    /**
     * 获取行宽
     *
     * @author ljk
     * @since 2022/7/8 17:15
     */
    int getRowSpan();

    /**
     * 获取列宽
     *
     * @author ljk
     * @since 2022/7/8 17:16
     */
    int getColSpan();

    /**
     * 获取行
     *
     * @author ljk
     * @since 2022/7/8 17:17
     */
    Row getRow();

    /**
     * 获取列
     *
     * @author ljk
     * @since 2022/7/8 17:17
     */
    Column getColumn();

    /**
     * 获取实际值
     *
     * @author ljk
     * @since 2022/7/8 17:18
     */
    Object getData();

    /**
     * 获取内容接口
     *
     * @author ljk
     * @since 2022/7/8 17:19
     */
    Value getValue();

    /**
     * 获取扩展方向
     *
     * @author ljk
     * @since 2022/7/8 17:17
     */
    Expand getExpand();

    List<Object> getBindData();
}
